import Taro, { Component } from "@tarojs/taro";
import { View, Text } from "@tarojs/components";
import "./index.css";
import { request } from "../../utils/illness";

export default class Index extends Component {
  config = {
    navigationBarTitleText: "首页"
  };
  constructor(props) {
    super(props);
    this.state = {
      list: [],
      id: ""
    };
  }
  componentWillMount() {
    console.log(this.$router.params.id);
  }

  componentDidMount() {}

  componentWillUnmount() {}

  componentDidShow() {}

  componentDidHide() {}

  render() {
    return <View className="index"></View>;
  }
}
